<template>
  <div id="app">
    <router-link to="/"></router-link> 
    <router-link to='/search'></router-link> 
    <router-link to="/detail"></router-link> 
    <router-link to="/shopcar"></router-link> 
    <router-link to="/login"></router-link> 
     <!--缓存，切换页面，不改变  -->
     <keep-alive >
       <router-view></router-view>
     </keep-alive>
  </div>
</template>

<script>


export default {
  name: 'app',
  components: {
   
  }
}
</script>

<style>

</style>
